package com.sanjiayi.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName("follow")
@ApiModel("关注关系实体")
public class Follow {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("关注ID")
    private Integer followId;

    @ApiModelProperty("关注者ID（主动关注的人）")
    private Integer followerId;

    @ApiModelProperty("被关注者ID（被关注的人）")
    private Integer followedId;

    @ApiModelProperty("关注时间")
    private Date createTime;
} 